package com.huacheng.cms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.huacheng.cms.model.User;

@Repository
public interface UserMapper {
    int deleteByPrimaryKey(Long userid);

    int insertSelective(User record);

    User selectByPrimaryKey(Long userid);

    int updateByPrimaryKeySelective(User record);

	int selectBySelectiveCount(User record);

	List<User> selectBySelective(@Param("record") User record, @Param("offset") long offset, @Param("rows") long rows);
}